Skip to content

Fix toolbar selection persistence through block changes#250

Open
keilogic wants to merge 1 commit into
hytopiagg:mainfrom
keilogic:fix-toolbar-selection-persists
Open

Fix toolbar selection persistence through block changes#250
keilogic wants to merge 1 commit into
hytopiagg:mainfrom
keilogic:fix-toolbar-selection-persists

Conversation

@keilogic
Copy link
Copy Markdown

@keilogic keilogic commented May 27, 2026

Fixes #123

Summary:

  • Block selection was deactivating every active toolbar tool except the terrain sculpt tool.
  • Added a small preserve list for block-driven tools so Paint Terrain, Wall Tool, and Ground Tool stay active when switching blocks.
  • Kept the change scoped to BlockToolsSidebar.js.

Validation:

  • npm install --no-package-lock - passed when preparing the patch
  • npm run build - passed with existing upstream warnings when preparing the patch
  • git diff --check origin/main...HEAD - passed

Note:

  • This issue is currently labeled Improvement, not BOUNTY, so I am submitting it as a normal contribution.
  • Edit: sorry for the earlier payment wording; this thread does not show a payment offer, so I removed it.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

@keilogic is attempting to deploy a commit to the Hytopia Team on Vercel.

A member of the Team first needs to authorize it.

@keilogic
Copy link
Copy Markdown
Author

keilogic commented Jun 2, 2026

Quick status note: the only hosted check failure is Vercel authorization required for this repository/team deployment. The branch is mergeable from GitHub's side, and the local validation from the PR body still stands: npm install, npm run build, and git diff --check passed when the patch was prepared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toolbar selection should persist through different block selections.

1 participant